package com.duniptech.soa.modeling;

import com.duniptech.soa.service.RTSimulationService;
import com.duniptech.soa.service.RTSimulationServiceInterface;



/**
 * @author  jlrisco
 */
public class RTConnection extends Connection {
	protected RTSimulationServiceInterface serviceTo;
	
	public RTConnection(String simulatorFrom, String portFrom, String simulatorTo, String endPointServiceTo, String portTo) throws Exception {
		super(simulatorFrom, portFrom, simulatorTo, portTo);
		this.serviceTo = new RTSimulationService(endPointServiceTo);
	}
	
	public RTSimulationServiceInterface getServiceTo() throws Exception { 
		return serviceTo; 
	}
	
}
